Memsource\Service\Content\AbstractPostService B

Total Complexity 77
Dependencies 12
Dependents 2
Total lines 522
Lines of code 277
Logical lines of code 160
Comment lines 105
Methods 25
Properties 4

Methods 25

Method Rating Maintainability Complexity Lines of code
getItems()
A
54 8 19
calculateCustomFieldsSize()
S
57 7 16
containsCustomField()
S
58 7 15
findCustomFields()
S
56 6 17
addOrUpdateTranslation()
S
48 5 32
getItem()
S
56 4 17
getCustomFieldsFromString()
S
59 4 14
storeLastProcessedId()
S
59 4 14
getLastRevision()
S
64 4 11
saveTranslation()
S
55 3 18
saveCustomFields()
S
58 3 14
getPostJson()
S
54 2 21
customFieldsToHTML()
S
67 3 7
allowStyleTag()
S
71 2 6
cleanStringFromCustomFields()
S
70 2 6
getPreviewPostLink()
S
70 2 6
encodeFieldIfSerialized()
S
70 2 6
decodeFieldIfSerialized()
S
66 2 8
calculatePostSize()
S
78 1 3
getCustomFieldRegexPatterns()
S
73 1 6
__construct()
S
68 1 7
customFieldToHTML()
S
75 1 4
getPostContent()
S
78 1 3
getPost()
S
76 1 4
isFolder()
S
82 1 3